package com.beiing.tianshuai.tianshuai.dongtai;

import com.beiing.tianshuai.tianshuai.entity.BaseBean;

/**
 * 回调接口，用于model向presenter传递数据
 *
 * Created by magikliu on 2017/8/4.
 */

public interface CallBack<T extends BaseBean> {
    void result(T bean);
    void error(Throwable e);
}
